<template>
  <div class="app-container">
    <el-table :data="list">
      <el-table-column label="开锁时间" prop="lockDate"></el-table-column>
      <el-table-column label="状态" prop="success">
        <template #default="{ row }">
          {{ row.success === 1 ? '成功' : '失败' }}
        </template>
      </el-table-column>
    </el-table>
    <pagination
      v-show="total > 0"
      :total="total"
      v-model:page="queryParams.pageNum"
      v-model:limit="queryParams.pageSize"
      @pagination="getList"
    />
  </div>
</template>
<script setup name="DeviceManagementRecord">
const list = ref([])
const total = ref(0)
const data = reactive({
  queryParams: {
    pageNum: 1,
    pageSize: 10,
  },
})
const { queryParams } = toRefs(data)

function getList() {

}
</script>
